<template>
  <el-form-item label="ID">
    <el-input v-model="selectedOptions.name" disabled />
  </el-form-item>
  <el-form-item label="name">
    <el-input v-model="selectedWidget.name" disabled />
  </el-form-item>
  <el-form-item label="栅格列数">
    <el-input-number v-model="selectedOptions.span" :min="0" />
  </el-form-item>
  <el-form-item label="左间隔数">
    <el-input-number v-model="selectedOptions.offset" :min="0" />
  </el-form-item>
  <el-form-item label="右移隔数">
    <el-input-number v-model="selectedOptions.push" :min="0" />
  </el-form-item>
  <el-form-item label="左移格数">
    <el-input-number v-model="selectedOptions.pull" :min="0" />
  </el-form-item>
  <el-form-item label="元素标签">
    <el-input v-model="selectedOptions.tag" />
  </el-form-item>
</template>

<script setup>
defineOptions({
  name: "colAttribute",
  inheritAttrs: false,
});
let $props = defineProps({
  selectedWidget: {
    type: Object,
    required: true,
  },
  selectedOptions: {
    type: Object,
    required: true,
  },
});
</script>

<style lang="scss" scoped></style>
